package hl.demosample.data.model.bean

import me.hgj.jetpackmvvm.network.BaseResponse

/*
* path: DemoSample 
* Author: hl
* Create: 2021-06-30 12:05
* Changes (from 2021-06-30)
* Desc:
*/
class GanKApiResponse<T>(val status:Int,val hot:String,val data:T):BaseResponse<T>() {

    override fun isSucces() = status == 100

    override fun getResponseData() = data

    override fun getResponseCode() = status

    override fun getResponseMsg() = hot

}